.image-magnifier-container {
  display: inline-block;
  position: relative;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.image-container:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.image-container img {
  display: block;
  transition: transform 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.02);
}

/* 放大镜样式 */
.image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.image-container:hover::after {
  opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .image-magnifier-container {
    width: 100%;
  }

  .image-container {
    width: 100% !important;
    height: auto !important;
  }
}
